package com.demo.petshop.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *  实体类。
 *
 * @author lenovo
 * @since 2025-06-09
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "addresses")
public class Addresses implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    private Integer addressId;

    private Integer userId;

    private String recipientName;

    private String phone;

    private String province;

    private String city;

    private String district;

    private String detailedAddress;

    private Integer isDefault;

}
